<template>
    <div>
        <page-header title="第二步" content="设置展示表单" style="margin-bottom: 0;"/>

        <page-main>
            <fc-designer ref="designer" height="800px">
                <template slot="handle">
                    <ElButton type="success" icon="el-icon-check" plain round v-on:click="save">生成组件</ElButton>
                </template>
            </fc-designer>
        </page-main>

    </div>
</template>

<script>
export default {
    name: "new_page_form",
    methods: {
        save() {
            //FcDesigner 生成的`JSON`
            const FcDesignerRule = this.$refs.designer.getRule();
            //FcDesigner 生成的`options`
            const FcDesignerOptions = this.$refs.designer.getOption();
        }
    }
}
</script>

